﻿using Microsoft.EntityFrameworkCore;
using Volo.Abp.EntityFrameworkCore;

namespace Rechargeable.Amazon.EntityFrameworkCore;

public class AmazonHttpApiHostMigrationsDbContext : AbpDbContext<AmazonHttpApiHostMigrationsDbContext>
{
    public AmazonHttpApiHostMigrationsDbContext(DbContextOptions<AmazonHttpApiHostMigrationsDbContext> options)
        : base(options)
    {

    }

    protected override void OnModelCreating(ModelBuilder modelBuilder)
    {
        base.OnModelCreating(modelBuilder);

        modelBuilder.ConfigureAmazon();
    }
}
